﻿using System.Net;
using System.Security.Claims;
using K9Nano.Domain.Session;

namespace K9Nano.AspNetCore.Security;

public interface IJwtHelper
{
    JwtResponse GenerateJwtToken(IEnumerable<Claim> claims);

    /// <summary>
    /// 测试token是否在有效期
    /// </summary>
    /// <returns></returns>
    bool Test(string accessToken);
}
